package net.oschina.jhssm.module.system.dao;

import net.oschina.jhssm.module.system.entity.SysUser;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Set;

public interface SysUserMapper extends Mapper<SysUser> {

    SysUser findUserByUsername(@Param("username") String username);

    Set<String> findRoleByUsername(@Param("username") String username);

    Set<String> findPermissionByUsername(@Param("username") String username);
}